package com.sayice.icepusher.pojo;

/**
 * 企业授权信息
 *
 * @author shubing
 */
public class AuthInfo {
    /**
     * 企业永久授权码
     */
    public String permanentCode;
    
    /**
     * 加密的企业 ID
     */
    public String openCorpId;
    
    /**
     * 接收消息的用户 id (加密)
     */
    public String openUserId;
    
    public AuthInfo(String permanentCode, String openCorpId, String openUserId) {
        this.permanentCode = permanentCode;
        this.openCorpId = openCorpId;
        this.openUserId = openUserId;
    }
    
    @Override
    public String toString() {
        return "AuthInfo{" +
                "permanentCode='" + permanentCode + '\'' +
                ", openCorpId='" + openCorpId + '\'' +
                ", openUserId='" + openUserId + '\'' +
                '}';
    }
}
